package com.md.tw;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data // set, get, toString
@NoArgsConstructor // 全参构造
@AllArgsConstructor // 无参构造
public class User {
    private String qqName ;
    private String qqNum ;
    private User user2 ;
    public void chat(){
        System.out.println(this.qqNum + "正在和" + user2.getQqNum() + "聊天");
    }
}
